import numeral from "numeral";

const convertCentsToYuan = (cents:number) => {
    let yuan = cents / 100; // 转换为元
    return numeral(yuan).format('￥0,0.00'); // 格式化为货币
}

export {convertCentsToYuan}
